Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add visit_withmodule #32

Merged
merged 1 commit into from
Sep 19, 2022
Merged

Add visit_withmodule #32

merged 1 commit into from
Sep 19, 2022

Conversation

timholy
Copy link
Owner

@timholy timholy commented Sep 18, 2022

This allows the operation to know the module in which
the current item was found. Note that this is distinct
from module ownership:

module A f(x) = 1 end
module B
    using ..A
    A.f(x::Int) = 2
end

In this case both methods are found while traversing A,
even though which(A.f, (Int,)).module == B.

This allows the operation to know the module in which
the current item was found. Note that this is distinct
from module ownership:

module A f(x) = 1 end
module B
    using ..A
    A.f(x::Int) = 2
end

In this case both methods are found while traversing A,
even though `which(A.f, (Int,)).module == B`.
@codecov
Copy link

codecov bot commented Sep 18, 2022

Codecov Report

Base: 94.16% // Head: 94.38% // Increases project coverage by +0.21% 🎉

Coverage data is based on head (68cee0d) compared to base (81f05f1).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #32      +/-   ##
==========================================
+ Coverage   94.16%   94.38%   +0.21%     
==========================================
  Files           4        4              
  Lines         360      374      +14     
==========================================
+ Hits          339      353      +14     
  Misses         21       21              
Impacted Files Coverage Δ
src/MethodAnalysis.jl 95.18% <ø> (ø)
src/visit.jl 92.30% <100.00%> (+0.92%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@timholy timholy merged commit f9098fe into master Sep 19, 2022
@timholy timholy deleted the teh/visit_withmodule branch September 19, 2022 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant